<h1>巨量股票池列表</h1>
<h2><%=params[:notice]%></h2>
<table>
  <tr>
    <th>股票代码</th>
    <th>股票名称</th>
    <th>添加时间</th>
    <th>推荐状态</th>
    <th>未读通知</th>
  </tr>

<% @jillion_stocks.each do |jillion_stock| %>
  <tr>
    <td><%=jillion_stock.stock_id%></td>
    <td><%=jillion_stock.stock_name%></td>
    <td><%=jillion_stock.add_time.strftime('%Y-%m-%d %H:%M:%S')%></td>
    <td><%=Parameter.find_value("RECOMMAND",jillion_stock.informing_status)%></td>
    <td>待开发</td>
    <td><%= link_to 'Show', jillion_stock_path(jillion_stock.stock_id) %></td>
    <td><%= link_to 'Edit', edit_jillion_stock_path(jillion_stock.stock_id) %></td>
    <td><%= link_to 'Destroy', jillion_stock.stock_id, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Jillion stock', new_jillion_stock_path %>
